Skip to content

Conversation

@jbampton
Copy link
Member

- id: forbid-submodules
#- id: mixed-line-ending
- id: mixed-line-ending
exclude: ^static/img/.*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this would need to apply to /blog//.png|jpg|gif as well. I am not sure how advanced the exclude clause syntax is, but sure a lot of images are stowed away in those directories as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DaanHoogland it is well overdue you need to install pre-commit on your local machine and actually run it and test your PRs and same for the main CloudStack project.

There are no real changes needed here since the tests have passed and I was only really wanting to exclude SVG files.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, @jbampton , but we do need to add that to the wiki/some readme as well. (nothing to do with this commit)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, @jbampton , but we do need to add that to the wiki/some readme as well. (nothing to do with this commit)

apache/cloudstack#11680

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohw. I see you beat me to it. ;) (ref: apache/cloudstack#11680)

@jbampton jbampton closed this Sep 16, 2025
@jbampton jbampton reopened this Sep 16, 2025
@jbampton jbampton requested a review from vishesh92 September 16, 2025 19:30
@DaanHoogland DaanHoogland merged commit b2f7747 into apache:staging-site Sep 18, 2025
3 checks passed
@jbampton jbampton deleted the add-hook-mixed-line-ending branch September 18, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants